package com.community.demo.service;

import com.community.demo.domain.Goods;

import java.util.List;

public interface IGoodsService {

    public List<Goods> getAllGoods();

    void saveAndFlush(Goods goods);

    void deleteGoods(long id);

    Goods findGoodsById(long id);
}
